package com.joysuch.wwyt.mh.bean;


import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;
import java.util.List;

@Data
public class MhMajorHazardTaskRecordSearchBean {

    @ApiModelProperty(value = "任务名称")
    private String taskName;

    @ApiModelProperty(value = "检查人员Id")
    private Integer checkUerIds;

    @ApiModelProperty(value = "检查人员名称")
    private String checkUerNames;

    @ApiModelProperty(value = "多个检查人员名称")
    private List<Long> checkUserNameList;

    @ApiModelProperty(value = "重大危险源")
    private Integer majorHazardId;

    @ApiModelProperty(value = "状态")
    private Integer status;

    @ApiModelProperty(value = "开始时间")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    private Date createTime;

    @ApiModelProperty(value = "结束时间")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    private Date endTime;

    @ApiModelProperty(value = "周期类型")
    private Integer cycleType;

    @ApiModelProperty(value = "履职考核完成情况")
    private Integer checkResult;

    @ApiModelProperty(value = "异常处理状态")
    private Integer excepHandle;

    @ApiModelProperty(value = "分页条数")
    private Integer size;

    @ApiModelProperty(value = "页码")
    private Integer page;

    private Long tenentId;


    private String orgCode;
}
